﻿<style type="text/css">
    #dTop {
        height: 80px;
        background-color: #2F4050;
    }

    #dTopMain {
        width: 1200px;
        margin: 0 auto;
        position: relative;
    }

        #dTopMain .nav > li > a:focus, #dTopMain .nav > li > a:hover {
            background-color: #fff;
            color: #333;
        }

        #dTopMain .nav > li > a {
            color: #fff;
        }

        #dTopMain .nav .open > a, #dTopMain .nav .open > a:focus, #dTopMain .nav .open > a:hover {
            color: inherit;
        }

        #dTopMain .navbar-top-links li:last-child {
            margin-right: 0px;
        }

        #dTopMain .navbar-top-links li a {
            padding: 14px 20px;
            min-height: initial;
        }

        #dTopMain .dropdown-menu > li > a:focus, #dTopMain .dropdown-menu > li > a:hover {
            background-color: #DFF0D8;
        }
    /*#dTopMain .nav > li > a:focus, .nav > li > a:hover { background-color:#fff; color:#333; }*/
</style>

<div id="dTop">
    <div id="dTopMain">
        <img alt="image" class="img-circle" style="width: 64px; height: 64px; margin-top: 8px; float: left;" src="/img/logo.png" />
        <div class="navbar-collapse collapse" id="navbar" style="float: left; width: 1120px; margin-left: 8px; margin-top: 16px;">
            <ul class="nav navbar-nav">
                <li class="active" style="border-left: none; background-color: transparent;">
                    <a aria-expanded="false" target="homePage" role="button" href="@Url.Action("HomePage","Home")">首页</a>
                </li>
                <li class="dropdown" style="<%=ds.Tables[0].Rows.Count==0?" display:none;":"" %>
                    ">
                    <a aria-expanded="false" role="button" href="#" class="dropdown-toggle" data-toggle="dropdown">个人 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <p id="personal" runat="server"></p>
                        <%--
                        <asp:Repeater ID="Repeater1" runat="server">
                            <ItemTemplate>
                                <li class="<%#GetUL(Eval(" PageUrl").ToString())!="" ?"dropdown-submenu":"" %>
                                    ">
                                    <a href="<%#GetUL(Eval(" PageUrl").ToString())= ="" ?Eval("PageUrl").ToString():"javascript:;" %>"><i class="<%#Eval(" ImgPath") %>"></i>&nbsp;<%#Eval("MenuName") %></a>
                                    <%#GetUL(Eval("PageUrl").ToString()) %>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>--%>
                    </ul>
                </li>
                <li class="dropdown">
                    <a aria-expanded="false" role="button" href="#" class="dropdown-toggle" data-toggle="dropdown">档案 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li class="">  <a href="@Url.Action("Index","CTWenShu",new { area="Query"})"><i class=""></i>&nbsp;传统文书</a></li>
                        <li class="">  <a href="@Url.Action("Index","JHWenShu",new { area="Query"})"><i class=""></i>&nbsp;简化文书</a></li>
                        <li class="">  <a href="@Url.Action("Index","JiJian",new { area="Query"})"><i class=""></i>&nbsp;基建档案</a></li>
                        <li class="">  <a href="@Url.Action("Index","SheBei",new { area="Query"})"><i class=""></i>&nbsp;设备档案</a></li>
                        <li class="">  <a href="@Url.Action("Index","YinPin",new { area="Query"})"><i class=""></i>&nbsp;音频录音</a></li>
                        <li class="">  <a href="@Url.Action("Index","luXiang",new { area="Query"})"><i class=""></i>&nbsp;录像档案</a></li>
                        <li class="">  <a href="@Url.Action("Index","ZhaoPian",new { area="Query"})"><i class=""></i>&nbsp;照片档案</a></li>
                        <li class="">  <a href="@Url.Action("Index","KuaiJi",new { area="Query"})"><i class=""></i>&nbsp;会计档案</a></li>
                        <li class="">  <a href="@Url.Action("Index","ShiWu",new { area="Query"})"><i class=""></i>&nbsp;实物档案</a></li>
                    </ul>
                </li>
                <li class="dropdown" style="<%=ds.Tables[2].Rows.Count==0?" display:none;":"" %>
                    ">
                    <a aria-expanded="false" role="button" href="#" class="dropdown-toggle" data-toggle="dropdown">加工 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <p id="make" runat="server"></p>
                        <%--
                        <asp:Repeater ID="Repeater3" runat="server">
                            <ItemTemplate>
                                <li class="<%#GetUL(Eval(" PageUrl").ToString())!="" ?"dropdown-submenu":"" %>
                                    ">
                                    <a href="<%#GetUL(Eval(" PageUrl").ToString())= ="" ?Eval("PageUrl").ToString():"javascript:;" %>"><i class="<%#Eval(" ImgPath") %>"></i>&nbsp;<%#Eval("MenuName") %></a>
                                    <%#GetUL(Eval("PageUrl").ToString()) %>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>--%>
                    </ul>
                </li>
                <li class="dropdown" style="<%=ds.Tables[3].Rows.Count==0?" display:none;":"" %>
                    ">
                    <a aria-expanded="false" role="button" href="#" class="dropdown-toggle" data-toggle="dropdown">管理 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li class="">                          
                        <a href="@Url.Action("MenuManager","Menu",new { area="System"})"><i class=""></i>&nbsp;菜单管理</a>                           
                        </li>
                    </ul>
                </li>
                <li class="dropdown" style="<%=ds.Tables[4].Rows.Count==0?" display:none;":"" %>
                    ">
                    <a aria-expanded="false" role="button" href="#" class="dropdown-toggle" data-toggle="dropdown">系统 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li class="">  <a href="@Url.Action("MenuManager","Menu",new { area="System"})"><i class=""></i>&nbsp;菜单管理</a></li>
                        <li class="">  <a href="@Url.Action("index","Department",new { area="System"})"><i class=""></i>&nbsp;部门管理</a></li>
                        <li class="">  <a href="@Url.Action("UserManager","User",new { area="System"})"><i class=""></i>&nbsp;用户管理</a></li>
                        <li class="">  <a href="@Url.Action("UserRole","Role",new { area="System"})"><i class=""></i>&nbsp;权限管理</a></li>
                        <li class="">  <a href="@Url.Action("Index","SysLog",new { area="System"})"><i class=""></i>&nbsp;系统日志</a></li>
                        <li class="">  <a href="@Url.Action("CategoryManagement","Category",new { area="System"})"><i class=""></i>&nbsp;门类管理</a></li>
                        <li class="">  <a href="@Url.Action("BaseDataManagement","BaseData",new { area="System"})"><i class=""></i>&nbsp;基础数据</a></li>
                    </ul>
                </li>
            </ul>
            <ul class="nav navbar-top-links navbar-right">
                <li>
                    <span style="color: #fff; font-size: 15px; font-weight: bold; font-style: italic; padding: 14px 20px;"><i class="fa fa-user" style="margin-right: 6px;"></i>管理员</span>
                </li>
                <li>
                    <asp:LinkButton ID="lbtnClose" runat="server" OnClick="lbtnClose_Click" OnClientClick="return LoginOut()"><i class="fa fa-sign-out"></i>退出</asp:LinkButton>
                </li>
            </ul>
        </div>
    </div>
</div>

<script type="text/javascript">
    function LoginOut() {
        return confirm("确定要退出系统？");
    }


</script>